package cn.tedu.egarticle0811.pojo.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

@Data
public class UserArticleParam {
    @NotNull
    private String title;
    @Range(min = 1,max = 500, message = "内容长度为1-500")
    private String content;
}
